package ui.activity.poscontrol.beanmodel;

import java.util.ArrayList;
import java.util.List;

public class RedBallnumBean {


        /**
         * modelId : 2
         * shopTickets : [{"amount":"100","comment":"单笔可用","createTime":1560923407000,"delFlag":0,"expire":30,"id":1,"lockLevel":1,"lockType":2,"name":"机具申领红包","status":1,"updateTime":1561014265000},{"amount":"300","comment":"神仙眷顾包","createTime":1561018477000,"delFlag":0,"expire":1,"id":2,"lockLevel":1,"lockType":2,"name":"任意用红包","status":1,"updateTime":1561018477000}]
         * userShopTickets : [{"count":6,"ticketId":1}]
         */

        private int modelId;
        private List<ShopTicketsBean> shopTickets;
        private List<UserShopTicketsBean> userShopTickets = new ArrayList<>();

        public int getModelId() {
            return modelId;
        }

        public void setModelId(int modelId) {
            this.modelId = modelId;
        }

        public List<ShopTicketsBean> getShopTickets() {
            return shopTickets;
        }

        public void setShopTickets(List<ShopTicketsBean> shopTickets) {
            this.shopTickets = shopTickets;
        }

        public List<UserShopTicketsBean> getUserShopTickets() {
            return userShopTickets;
        }

        public void setUserShopTickets(List<UserShopTicketsBean> userShopTickets) {
            this.userShopTickets = userShopTickets;
        }

        public static class ShopTicketsBean {
            /**
             * amount : 100
             * comment : 单笔可用
             * createTime : 1560923407000
             * delFlag : 0
             * expire : 30
             * id : 1
             * lockLevel : 1
             * lockType : 2
             * name : 机具申领红包
             * status : 1
             * updateTime : 1561014265000
             */

            private String amount;
            private String comment;
            private long createTime;
            private int delFlag;
            private int expire;
            private int id;
            private int lockLevel;
            private int lockType;
            private String name;
            private int status;
            private long updateTime;

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getComment() {
                return comment;
            }

            public void setComment(String comment) {
                this.comment = comment;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public int getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(int delFlag) {
                this.delFlag = delFlag;
            }

            public int getExpire() {
                return expire;
            }

            public void setExpire(int expire) {
                this.expire = expire;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getLockLevel() {
                return lockLevel;
            }

            public void setLockLevel(int lockLevel) {
                this.lockLevel = lockLevel;
            }

            public int getLockType() {
                return lockType;
            }

            public void setLockType(int lockType) {
                this.lockType = lockType;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }
        }

        public static class UserShopTicketsBean {
            /**
             * count : 6
             * ticketId : 1
             */

            private int count;
            private int ticketId;

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public int getTicketId() {
                return ticketId;
            }

            public void setTicketId(int ticketId) {
                this.ticketId = ticketId;
            }
        }
}
